.clearfix {
    *zoom: 1;
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: "";
}

.clearfix:after {
    clear: both;
}


* {
    box-sizing: border-box;
    font-family: "segoe UI light", "open sans", "Segoe UI" ,"Century Gothic", "Arial";
    font-weight: lighter;
}

body {
    overflow: hidden;
}

.controller,
.controller > div {
    display: block;
    position: absolute;
}

.controller {
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

#figure-list {
    width: 200px;
    top: 0px;
    bottom: 100px;
}

#drawingPad {
    min-height: 500px;
    left: 200px;
    top:0px;
    right: 0px;
    bottom: 100px;
    border: 2px solid gray;
    background: white;
    box-sizing: content-box;
    overflow: hidden;
}

#actions {
    height: 100px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

.btn {
    display: block;
}

#actions ul {
    list-style: none;
}

#actions li {
    width: 80px;
    height: 80px;
    float: left;
    margin-right: 10px;
}

#actions li > a {
    text-decoration: none;
    width: 100%;
    height: 100%;
    background: #369;
    padding:8px;
    color: white;
    cursor: pointer;
    -webkit-transition: background 200ms ease-in-out;
    transition: background 200ms ease-in-out;
}

#actions li > a:hover {
    background: #47a;
}


#debugger {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: black;
    color: white;
    padding: 2px 10px;
    opacity: .7;
    border-radius: 5px;
}